<?php session_start();
//send email
    $email = "stat.wang@gmail.com";
    $subject = "Application Received";
    $message = "Dear ".$_SESSION['FirstName'].
",\n\n Your application for a payday loan via www.cash2u.ca has been submitted successfully. We will do our best to quickly complete the processing and keep you informed about the result, which we will send by email and we may also tell you by phone.\n\nThank you for choosing www.cash2u.ca!\n\nCash2u.ca appreciates your business!\n\n";
    $message=wordwrap($message,70);

    mail($email, $subject,$message,"From:customerservicessupport@cash2u.ca");



$appemail = "actwang@hotmail.com";
    $appsubject = "Application Received";
    $appmessage = "New Application is arriving";
    $appmessage=wordwrap($appmessage,70);

    mail($appemail, $appsubject,$appmessage,"From:customerservicessupport@cash2u.ca");


?>

<html>
<body>
Yes
</body>
</html>
